<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

seesion的msg:<div th:text="${session.msg}"></div> <!--获取session中的userName -->
</body>
</html>